﻿using System;

namespace Lists
{
    class EmptyListException : Exception
    {
        public EmptyListException()
            :base("The list is empty")
        {            
        }

        public EmptyListException(string name)
            :base("The " + name + " is empty")
        {            
        }

        public EmptyListException(string exception, Exception inner)
            :base(exception, inner)
        {            
        }
    }
}
